package com.wx.cloud.code.service.impl;

import com.wx.cloud.code.mapper.CodeTableMapper;
import com.wx.cloud.code.model.CodeTable;
import com.wx.cloud.code.service.CodeTableService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;

@Service("codeTableService")
public class CodeTableServiceImpl implements CodeTableService {

    @Autowired
    private CodeTableMapper codeTableMapper;

    @Override
    public List<CodeTable> getCodeByType(String type) {
        return codeTableMapper.getCodeByType(type);
    }
}
